package com.hmall.common.dto;

/**
 * @author zhiqw
 * @create 2022-10-25 9:07 PM
 */
public class MQConstants {

    /**
     * 交换机
     */
    public final static String ITEM_EXCHANGE = "item.direct";
    /**
     * 监听新增和修改的队列
     */
    public final static String ITEM_INSERT_QUEUE = "item.insert.queue";
    /**
     * 监听删除的队列
     */
    public final static String ITEM_DELETE_QUEUE = "item.delete.queue";
    /**
     * 新增或修改的RoutingKey
     */
    public final static String ITEM_INSERT_KEY = "item.insert";
    /**
     * 删除的RoutingKey
     */
    public final static String ITEM_DELETE_KEY = "item.delete";

    /**
     * 延时交换机
     */
    public static final String DELAY_EXCHANGE = "delay.exchange";
    /**
     * 延时队列
     */
    public static final String DELAY_QUEUE = "delay.queue";
    /**
     * 延时路由绑定的key
     */
    public static final String DELAY_QUEUE_KEY = "delay.queue.key";
    /**
     * 死信交换机
     */
    public static final String DEAD_EXCHANGE = "dead.exchange";
    /**
     * 死信队列
     */
    public static final String DEAD_QUEUE = "dead.queue";
    /**
     * 死信队列绑定路由key
     */
    public static final String DEAD_QUEUE_KEY = "dead.queue.key";

}
